class BlankSlateSetup < ActiveRecord::Migration
  def self.up
    User.create :user_type_id => UserType.find_by_name("Administrator").id, :username => "admin", :password => "temporary", :name => "Administrator", :email => "admin@yourdomain.com"
    Page.create :name => "Home"
    Revision.create :page => Page.find_by_name("Home"), :content => "Welcome to Seymore! The user <code>admin</code> with the password <code>temporary</code> has been created for you.", :published => :true, :user => User.find_by_username("admin")
  end

  def self.down
  end
end
